package com.ruantu.clothing.controller;

import com.ruantu.clothing.service.ScriptServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Administrator on 2018/7/30 0030.
 */
@Controller
@RequestMapping("/script")
public class Script {

    @Autowired
    private ScriptServiceImpl scriptService;

    @RequestMapping("/ping")
    @ResponseBody
    public void find() {
        scriptService.isnertTailorRuku();
    }
}
